(Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable.
authorMiles Bader <miles@gnu.org>
Fri, 27 Dec 2002 04:08:28 +0000 (04:08 +0000)
committerMiles Bader <miles@gnu.org>
Fri, 27 Dec 2002 04:08:28 +0000 (04:08 +0000)
lisp/info.el

index 836c8287ebef3935edf8b60c02437e59d4ffb9d2..ed323d6e7f090cb707ecc51ce62c7172e8189bd3 100644 (file)
@@ -1543,9 +1543,9 @@ FOOTNOTENAME may be an abbreviation of the reference name."
            (unless (equal Info-current-node orignode)
              (Info-goto-node orignode))
            ;; Update the cache.
-           (setq Info-complete-cache
-                 (list Info-current-file Info-current-node
-                       Info-complete-next-re string completions)))
+           (set (make-local-variable 'Info-complete-cache)
+                (list Info-current-file Info-current-node
+                      Info-complete-next-re string completions)))
          (if action
              (all-completions string completions predicate)
            (try-completion string completions predicate)))))))